package org.dtrd.modules.doctor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.doctor.entity.bean.WalletHistoryDetail;
import org.dtrd.modules.doctor.entity.bean.WalletHistoryListInfo;
import org.dtrd.modules.doctor.entity.bean.WalletHistoryListRequest;
import org.dtrd.modules.doctor.entity.po.DtrdEntRdWalletHistory;

import java.util.List;

/**
 * <p>
 * 医生钱包历史数据服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-20
 */
public interface IDtrdEntRdWalletHistoryService extends IService<DtrdEntRdWalletHistory> {

    List<WalletHistoryListInfo> getWalletHistoryList(WalletHistoryListRequest request);

    WalletHistoryDetail getWalletHistory(Integer dataId);

    boolean saveOrUpdateWalletHistory(WalletHistoryDetail dto);

    boolean removeWalletHistory(Integer dataId);
}
